package com.letfox.ad.service.relation.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.relation.ADPlanScheduleDao;
import com.letfox.ad.model.relation.ADPlanSchedule;
import com.letfox.ad.service.relation.ADPlanScheduleServcie;

@Service
public class ADPlanScheduleServcieImpl implements ADPlanScheduleServcie {
	
	@Autowired
	private ADPlanScheduleDao adPlanRlScheduleDao;
	
	@Override
	public int deleteByPrimaryKey(Long id) {
		return adPlanRlScheduleDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADPlanSchedule record) {
		return adPlanRlScheduleDao.insert(record);
	}

	@Override
	public ADPlanSchedule selectByPrimaryKey(Long id) {
		return adPlanRlScheduleDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(ADPlanSchedule record) {
		return adPlanRlScheduleDao.updateByPrimaryKey(record);
	}

}
